package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author ms
 * @since 2023-12-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_PACK_DETAIL")
@ApiModel(value="PcPackDetail对象", description="")
public class PcPackDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "公司ID")
    private String companyId;

    private String shipmentId;

    private String shipmentName;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "序号")
    private BigDecimal seqNo;

    @ApiModelProperty(value = "类型名称")
    private String typeName;

    @ApiModelProperty(value = "物料编号")
    private String mtlNo;

    @ApiModelProperty(value = "物料名称")
    private String mtlName;

    @ApiModelProperty(value = "物料颜色")
    private String mtlColor;

    @ApiModelProperty(value = "物料规格")
    private String mtlSpec;

    @ApiModelProperty(value = "物料单位")
    private String mtlUnit;

    @ApiModelProperty(value = "需求量")
    private BigDecimal ttlUsage;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime sysDate;

    @ApiModelProperty(value = "创建人")
    private String sysUser;

    @ApiModelProperty(value = "订购单号")
    private String purNo;

    @ApiModelProperty(value = "厂商ID")
    private String vendorNo;

    @ApiModelProperty(value = "厂商名称")
    private String vendorName;

    @ApiModelProperty(value = "订购数量")
    private BigDecimal purQty;

    @ApiModelProperty(value = "需求日期")
    private LocalDateTime reqDate;

    @ApiModelProperty(value = "订购日期")
    private LocalDateTime purDate;

    private BigDecimal price;

    private BigDecimal amt;

    @ApiModelProperty(value = "备注")
    private String purRemark;

    private String currency;

    private BigDecimal payDays;

    private String invoiceType;

    private String deliveryPlace;

    private String cfmFlag;

    private String cfmUser;

    private LocalDateTime cfmDate;

    private String purFlag;

    private String remark;

    private String size1;

    private String size2;


}
